package com.campus_information_portal.service;

import com.campus_information_portal.entity.Teacher;
import com.campus_information_portal.util.Message;
import com.campus_information_portal.util.Msg;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author 20155883 万珊
 * @description 老师业务层接口
 * @project_name TeacherService
 * @package com.campus_infomation_portal.service.TeacherService
 * @create 2018-04-26 8:49
 **/
@Service
public interface TeacherService {
    /**
     * @param te_num
     * @Description 根据Teacher表中的老师编号查询老师个人信息
     * @author 20155883 万珊
     * @methodName queryTeacherByTeNum
     * @returnType Message
     * @create 2018/4/26 8:52
     **/
    Message queryTeacherByTeNum(int te_num);

    /**
     * @param teacher
     * @Description 修改老师信息表（姓名，性别，身份证，出生年月，民族，电话，籍贯）
     * @author 20155880 房雁颖
     * @methodName updateTeacher
     * @returnType Message
     * @create 2018/4/26 15:26
     **/
    Message updateTeacher(Teacher teacher);
    /**
     * @Description 通过老师名字查找id
     * @author 20155878 鄢前州
     * @methodName ququeryte_info_idByte_name
     * @returnType int
     * @create 9:09 2018/5/10
     **/
    public int ququeryte_info_idByte_name(String te_name);
}
